package org.itboys.core.entity.mongo;

import lombok.Data;
import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：zzq
 * 时间：2018/10/26
 * 描述：礼物
 */
@Data
@Entity(value = "SundayGift", noClassnameStored = true)
public class SundayGift extends BaseMongoEntity {
    private Long sendId;//送礼物人Id
    private Long receiveId;//收礼物人Id
    private Long orderId;//订单id
    private Long sceneId;//场景id
    private String sceneName;//场景名称
    private String sceneViceName;//场景副名称
    private String sceneImage;//场景图片
    private Integer status;//状态  0未兑换 1已兑换

    public SundayGift() {
    }

    public SundayGift(Long sendId, Long receiveId, Long orderId, Long sceneId,
                      String sceneName, String sceneViceName, String sceneImage, Integer status) {
        this.sendId = sendId;
        this.receiveId = receiveId;
        this.orderId = orderId;
        this.sceneId = sceneId;
        this.sceneName = sceneName;
        this.sceneViceName = sceneViceName;
        this.sceneImage = sceneImage;
        this.status = status;
    }
}
